package com.tepth.remote.control.delegate.attendance;

import com.tepth.remote.core.net.callback.IError;
import com.tepth.remote.core.net.callback.ISoapSuccess;
import com.tepth.remote.core.net.soap.SoapClient;

import java.util.WeakHashMap;

/**
 * Description:
 *
 * @author Hequn.Lee
 * @date 2018/11/21
 */
public class AttendanceModel implements AttendanceContract.Model {
    @Override
    public void getFencesLatLngList(WeakHashMap<String, Object> params,
                                    String methodName,
                                    String nameSpace,
                                    ISoapSuccess success,
                                    IError error) {
        SoapClient.builder().params(params)
                .methodName(methodName)
                .nameSpace(nameSpace)
                .success(success)
                .error(error)
                .builder()
                .post();
    }
}
